import request from '@/utils/request'

export function login (username, password) {
  return request.post('/mock/user/login', { username, password })
}

export function getInfo () {
  return request.get('/mock/user/getInfo')
}

export function logout () {
  return Promise.resolve()
}

export function resetPassword (params) {
  return request.post('/mock/user/resetPassword', params)
}
